home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MPW_TOOL
/
TOOLS
/
TOOLS_WI
/
ICON_8
/
TESTS
/
TRANSMIT.ICN
< prev
next >
Wrap
Text File
|
1990-03-02
|
547b
|
30 lines
global words, lines, writer
procedure main()
if not(&features == "co-expressions") then
stop("co-expressions not supported")
&trace := -1
words := create word()
lines := create reader()
writer := create output()
@writer
end
procedure word()
static letters
initial letters := &lcase ++ &ucase
while line := @lines do
line ? while tab(upto(letters)) do
tab(many(letters)) @ writer
end
procedure reader()
while read() @ words
end
procedure output()
while write(&errout,@words)
@&main
end